package com.yuanfeng.business.controller;

import com.yuanfeng.business.dto.ComplaintInformationDTO;
import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ShopComplainBaseController
 * @Description
 * @Author hyq
 * @Date 2023/8/8 13:26
 * @Version 1.0
 **/
@RestController
@RequestMapping("shop/complainBase")
public class ShopComplainBaseController extends BaseController {

    /**
     * 查询罚款列表
     *
     * @param param
     * @return
     */
    @PostMapping("/settlement/getFineList")
    public ResponseResult getFineList(@RequestBody(required = false) ComplaintInformationDTO param) {
        return shopComplainBaseService.getFineList(param);

    }
}
